package com.woniuxy.realm;

import org.apache.shiro.authc.UsernamePasswordToken;
/**
 * 吴毛伟原生态制造
 */
/**
 * 新建UsernamePasswordToken的自定义子类
 */
public class CustomizedToken extends UsernamePasswordToken {

    //登录类型，判断是普通用户登录，教练登录还是场馆登录
    private String loginType;

    public CustomizedToken(final String username, final String password,String loginType) {
        super(username,password);
        this.loginType = loginType;
    }

    public String getLoginType() {
        return loginType;
    }

    public void setLoginType(String loginType) {
        this.loginType = loginType;
    }
}
